treeview: Clip to bin window size when drawing bin window
authorBenjamin Otte <otte@redhat.com>
Mon, 31 Oct 2016 23:03:03 +0000 (00:03 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 1 Nov 2016 02:51:48 +0000 (03:51 +0100)
commitb40aeb7ab463b200d1e05ff77c1654b7636ec95f
tree21724f7aab701c45af3b6f77c5b137ee5dad4273
parentb3e5c31b080b682d479ab15efc80075fc53afe7e
treeview: Clip to bin window size when drawing bin window

This ensures that the drawing does not extend the actually drawn area.

It also ensures that our math is sane, because the math assumes the clip
area cannot extend the window. After all, before GTK4 it always was like
that.

Fixes a bunch of drawing bugs when the clip area does indeed extend too
far.
gtk/gtktreeview.c